package cn.edu.seu.cose.qol.model.dto.question;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

@XmlAccessorType(XmlAccessType.FIELD)
public class QuestionContent {
	
	@XmlAttribute(name = "max")
	private int _maxChoiceNumber;

	@XmlElement(name = "item")
	private QuestionContentItem[] _items;
	
	public QuestionContentItem[] getItems() {
		return _items;
	}
	
	public void setItems(QuestionContentItem[] items) {
		_items = items;
	}
	
	public int getMaxChoiceNumber() {
		return _maxChoiceNumber;
	}
	
	public void setMaxChoiceNumber(int number) {
		_maxChoiceNumber = number;
	}

}
